package com.example.script.portal.enums;

import com.example.script.common.api.IErrorCode;

public enum CommentResult implements IErrorCode {
    COMMENT_SUCCESS(0,"评论成功"),
    COMMENT_FILE(1,"评论失败，请重试");

    private long code;
    private String message;

    CommentResult(long code, String message) {
        this.code = code;
        this.message = message;
    }

    @Override
    public long getCode() {
        return code;
    }

    @Override
    public String getMessage() {
        return message;
    }
}
